package ch.zbw.timeline.application;

import java.rmi.RemoteException;
import java.util.TimeZone;

import ch.zbw.timeline.presentation.ClientView;
import ch.zbw.timeline.presentation.MainClientView;
import ch.zbw.timeline.service.RmiServerService;
import ch.zbw.timeline.service.ServerService;

/**
 * This is the starting point of the client application
 * 
 * @author Daniel Stefanovic
 * @version 18.01.2012
 * 
 */
public class ClientApplication {

	public final static String SERVER_IP = "//127.0.0.1/";
		
	public static void main(String[] args) throws RemoteException {
		TimeZone.setDefault(TimeZone.getTimeZone("Etc/UTC"));
		ClientView view = new MainClientView();
		ServerService server = new RmiServerService();
		new ClientPresenter(server, view);
	}
}
